package com.yuyou.tas.admin.service;

import com.yuyou.tas.admin.vo.resp.OptResourceVo;
import com.yuyou.tas.admin.vo.resp.RespAuthResource;
import com.yuyou.tas.admin.vo.resp.RespAuthRoleResource;
import com.yuyou.tas.service.api.admin.entity.AuthResource;

import java.util.List;

/**
 * Created by yujin.liu on 2018/1/23.
 */
public interface IAuthResourceService {

    List<RespAuthRoleResource> findAllAuthResourceWithChildren(Long authRoleId);

    void saveAuthRoleResourceList(Long authRoleId, List<Long> authResourceIds);
    
    List<RespAuthResource> findAuthResourceByUserId(Long authUserId);

    List<RespAuthRoleResource> findAuthResourceByUserIdFromCache(Long userId);
    
}
